<?php
class sample extends MY_Controller{
	
	function __construct(){
		parent::__construct();
		$this->load->helper("date");
	}
	
	function index(){
		echo timezones('UM5')."<br>";
		
		$format = 'DATE_RFC822';
		$time = time();		
		echo standard_date($format, $time)."<br>";
		
		$now = time();

//echo unix_to_human($now); // U.S. time, no seconds

//echo unix_to_human($now, TRUE, 'us'); // U.S. time with seconds

	echo unix_to_human($now, TRUE, 'eu'); // Euro time with seconds
	
	echo "<br>";
	}
	
}